package com.yq.model.vo;

import com.yq.utils.Constant;

public class GoodsVO {


    /**
     * img : http://47.106.110.142:8090/static/image/1570850192433156699448698020190828201124.jpg
     * price : 1.0
     * name : 半身
     * stockNum : 1800
     * typeId : 1
     * id : 475
     */
    private String img;
    private double price;
    private String name;
    private Integer stockNum;
    private Integer typeId;
    private Integer id;

    public void setImg(String img) {
        this.img = Constant.HTTPURL+img;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public double getPrice() {
        return price;
    }

    public String getName() {
        return name;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public Integer getId() {
        return id;
    }
}
